﻿using SqlSugar;
using System;

namespace WaterCloud.Domain.Entity.STZBManage
{
    /// <summary>
    /// 武器实体类
    /// </summary>
    [SugarTable(TableName = "stzb_weapons", TableDescription = "武器表")]
    public class Weapons
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键Id")]
        public int Id { get; set; }

        /// <summary>
        /// 武器名称
        /// </summary>
        [SugarColumn(ColumnDescription = "武器名称", Length = 100)]
        public string Name { get; set; }

        /// <summary>
        /// 武器词条
        /// </summary>
        [SugarColumn(ColumnDescription ="武器词条",Length =100)]
        public string Entry { get; set; }

        /// <summary>
        /// 武器档位
        /// </summary>
        [SugarColumn(ColumnDescription ="武器档位",Length =100)]
        public string Gear { get; set; }

        /// <summary>
        /// 四通价格
        /// </summary>
        [SugarColumn(ColumnDescription = "四通价格", ColumnDataType = "decimal(18,2)")]
        public decimal Price { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间", InsertServerTime = true)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnDescription = "修改时间", UpdateServerTime = true, IsNullable = true)]
        public DateTime? UpdateTime { get; set; }
    }
}
